#include "list.h"

int main()
{
	slist* plist = NULL;
	SListPushFront(&plist, 30);
	SListPushFront(&plist, 31);
	SListPushFront(&plist, 32);
	SListPushFront(&plist, 33);
	SListPopBack(&plist);
	SListPushFront(&plist, 34);
	
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 5);
	SListPopBack(&plist);
	SListPopFront(&plist);
	SListInsert(&plist, 1, 20);
	SListInsert(&plist, 1, 10);
	SListInsert(&plist, 4, 10);
	SListInsert(&plist, 33, 10);


	ListPrint(plist);

	return 0;
}